<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>HElib: helib::SKHandle Class Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">HElib Implementing Homomorphic Encryption</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacehelib.html">helib</a></li><li class="navelem"><a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classhelib_1_1_s_k_handle-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">helib::SKHandle Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A handle, describing the secret-key element that "matches" a part, of the form s^r(X^t).  
 <a href="classhelib_1_1_s_k_handle.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_ctxt_8h_source.html">Ctxt.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5fc29647d9f2c82246d6c7561b03e57c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a5fc29647d9f2c82246d6c7561b03e57c">SKHandle</a> (long newPowerOfS=0, long newPowerOfX=1, long newSecretKeyID=0)</td></tr>
<tr class="separator:a5fc29647d9f2c82246d6c7561b03e57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3db0c0376d013b4d9760f979664b199"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#ab3db0c0376d013b4d9760f979664b199">setBase</a> (long newSecretKeyID=-1)</td></tr>
<tr class="memdesc:ab3db0c0376d013b4d9760f979664b199"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set powerOfS=powerOfX=1.  <a href="classhelib_1_1_s_k_handle.html#ab3db0c0376d013b4d9760f979664b199">More...</a><br /></td></tr>
<tr class="separator:ab3db0c0376d013b4d9760f979664b199"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3f98d8320f01259907d99b9d1e82b4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#aff3f98d8320f01259907d99b9d1e82b4">isBase</a> (long ofKeyID=0) const</td></tr>
<tr class="memdesc:aff3f98d8320f01259907d99b9d1e82b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is powerOfS==powerOfX==1?  <a href="classhelib_1_1_s_k_handle.html#aff3f98d8320f01259907d99b9d1e82b4">More...</a><br /></td></tr>
<tr class="separator:aff3f98d8320f01259907d99b9d1e82b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8441b0140bd6652880eb1461ebc0278"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#ac8441b0140bd6652880eb1461ebc0278">setOne</a> (long newSecretKeyID=-1)</td></tr>
<tr class="memdesc:ac8441b0140bd6652880eb1461ebc0278"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set powerOfS=0, powerOfX=1.  <a href="classhelib_1_1_s_k_handle.html#ac8441b0140bd6652880eb1461ebc0278">More...</a><br /></td></tr>
<tr class="separator:ac8441b0140bd6652880eb1461ebc0278"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcbc38129fd9f8a57a51738a4bf95497"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#abcbc38129fd9f8a57a51738a4bf95497">isOne</a> () const</td></tr>
<tr class="memdesc:abcbc38129fd9f8a57a51738a4bf95497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is powerOfS==0?  <a href="classhelib_1_1_s_k_handle.html#abcbc38129fd9f8a57a51738a4bf95497">More...</a><br /></td></tr>
<tr class="separator:abcbc38129fd9f8a57a51738a4bf95497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6fe46226ec3a104b4ccbeffb421f8ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#af6fe46226ec3a104b4ccbeffb421f8ae">operator==</a> (const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;other) const</td></tr>
<tr class="separator:af6fe46226ec3a104b4ccbeffb421f8ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac47f7606f1c607f9505d7a7cd973f114"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#ac47f7606f1c607f9505d7a7cd973f114">operator!=</a> (const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;other) const</td></tr>
<tr class="separator:ac47f7606f1c607f9505d7a7cd973f114"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fc34851d7423c914dc3277c92631b16"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a0fc34851d7423c914dc3277c92631b16">getPowerOfS</a> () const</td></tr>
<tr class="separator:a0fc34851d7423c914dc3277c92631b16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a905000baeb7e543bcf5dfddd86165807"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a905000baeb7e543bcf5dfddd86165807">getPowerOfX</a> () const</td></tr>
<tr class="separator:a905000baeb7e543bcf5dfddd86165807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9ab3a9daba86ae6114c2aab1a7f9501"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#ac9ab3a9daba86ae6114c2aab1a7f9501">getSecretKeyID</a> () const</td></tr>
<tr class="separator:ac9ab3a9daba86ae6114c2aab1a7f9501"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a597ac6729760ac1d7b3adc3fc09b4d81"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a597ac6729760ac1d7b3adc3fc09b4d81">mul</a> (const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;a, const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;b)</td></tr>
<tr class="memdesc:a597ac6729760ac1d7b3adc3fc09b4d81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the "product" of two handles.  <a href="classhelib_1_1_s_k_handle.html#a597ac6729760ac1d7b3adc3fc09b4d81">More...</a><br /></td></tr>
<tr class="separator:a597ac6729760ac1d7b3adc3fc09b4d81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a239df9f6664d3fba45ede21182471764"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a239df9f6664d3fba45ede21182471764">read</a> (std::istream &amp;str)</td></tr>
<tr class="separator:a239df9f6664d3fba45ede21182471764"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59ec48370cb48358715541436267182b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a59ec48370cb48358715541436267182b">write</a> (std::ostream &amp;str) const</td></tr>
<tr class="separator:a59ec48370cb48358715541436267182b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a946041a62ae7a72c3fc188af3fd608b8"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a946041a62ae7a72c3fc188af3fd608b8">Ctxt</a></td></tr>
<tr class="separator:a946041a62ae7a72c3fc188af3fd608b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a749c2ed9522cd1b53b46f514c441be24"><td class="memItemLeft" align="right" valign="top">std::istream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhelib_1_1_s_k_handle.html#a749c2ed9522cd1b53b46f514c441be24">operator&gt;&gt;</a> (std::istream &amp;s, <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;handle)</td></tr>
<tr class="separator:a749c2ed9522cd1b53b46f514c441be24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A handle, describing the secret-key element that "matches" a part, of the form s^r(X^t). </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a5fc29647d9f2c82246d6c7561b03e57c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fc29647d9f2c82246d6c7561b03e57c">&#9670;&nbsp;</a></span>SKHandle()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">helib::SKHandle::SKHandle </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newPowerOfS</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newPowerOfX</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newSecretKeyID</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0fc34851d7423c914dc3277c92631b16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0fc34851d7423c914dc3277c92631b16">&#9670;&nbsp;</a></span>getPowerOfS()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long helib::SKHandle::getPowerOfS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a905000baeb7e543bcf5dfddd86165807"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a905000baeb7e543bcf5dfddd86165807">&#9670;&nbsp;</a></span>getPowerOfX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long helib::SKHandle::getPowerOfX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac9ab3a9daba86ae6114c2aab1a7f9501"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9ab3a9daba86ae6114c2aab1a7f9501">&#9670;&nbsp;</a></span>getSecretKeyID()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long helib::SKHandle::getSecretKeyID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aff3f98d8320f01259907d99b9d1e82b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aff3f98d8320f01259907d99b9d1e82b4">&#9670;&nbsp;</a></span>isBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::SKHandle::isBase </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>ofKeyID</em> = <code>0</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is powerOfS==powerOfX==1? </p>

</div>
</div>
<a id="abcbc38129fd9f8a57a51738a4bf95497"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abcbc38129fd9f8a57a51738a4bf95497">&#9670;&nbsp;</a></span>isOne()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::SKHandle::isOne </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Is powerOfS==0? </p>

</div>
</div>
<a id="a597ac6729760ac1d7b3adc3fc09b4d81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a597ac6729760ac1d7b3adc3fc09b4d81">&#9670;&nbsp;</a></span>mul()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::SKHandle::mul </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes the "product" of two handles. </p>
<p>The key-ID's and powers of X must match, else an error state arises, which is represented using a key-ID of -1 and returning false. Also, note that inputs may alias outputs.</p>
<p>To determine if the resulting handle can be re-linearized using some key-switching matrices from the public key, use the method pubKey.haveKeySWmatrix(handle,handle.secretKeyID), from the class <a class="el" href="classhelib_1_1_pub_key.html" title="The public key.">PubKey</a> in <a class="el" href="keys_8h.html" title="Declaration of public key">keys.h</a> </p>

</div>
</div>
<a id="ac47f7606f1c607f9505d7a7cd973f114"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac47f7606f1c607f9505d7a7cd973f114">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::SKHandle::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af6fe46226ec3a104b4ccbeffb421f8ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6fe46226ec3a104b4ccbeffb421f8ae">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool helib::SKHandle::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a239df9f6664d3fba45ede21182471764"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a239df9f6664d3fba45ede21182471764">&#9670;&nbsp;</a></span>read()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void helib::SKHandle::read </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab3db0c0376d013b4d9760f979664b199"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3db0c0376d013b4d9760f979664b199">&#9670;&nbsp;</a></span>setBase()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void helib::SKHandle::setBase </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newSecretKeyID</em> = <code>-1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set powerOfS=powerOfX=1. </p>

</div>
</div>
<a id="ac8441b0140bd6652880eb1461ebc0278"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8441b0140bd6652880eb1461ebc0278">&#9670;&nbsp;</a></span>setOne()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void helib::SKHandle::setOne </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newSecretKeyID</em> = <code>-1</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set powerOfS=0, powerOfX=1. </p>

</div>
</div>
<a id="a59ec48370cb48358715541436267182b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59ec48370cb48358715541436267182b">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void helib::SKHandle::write </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a946041a62ae7a72c3fc188af3fd608b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a946041a62ae7a72c3fc188af3fd608b8">&#9670;&nbsp;</a></span>Ctxt</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classhelib_1_1_ctxt.html">Ctxt</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a749c2ed9522cd1b53b46f514c441be24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a749c2ed9522cd1b53b46f514c441be24">&#9670;&nbsp;</a></span>operator&gt;&gt;</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::istream&amp; operator&gt;&gt; </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classhelib_1_1_s_k_handle.html">SKHandle</a> &amp;&#160;</td>
          <td class="paramname"><em>handle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/HElib/include/helib/<a class="el" href="_ctxt_8h_source.html">Ctxt.h</a></li>
<li>/HElib/src/<a class="el" href="_ctxt_8cpp.html">Ctxt.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
